#include "window.h"

Window::Window(QWidget *parent): QMainWindow(parent) {
}

void Window::closeEvent(QCloseEvent *ce) {
	if (this->onCloseQuery(ce)) {
		ce->accept();
	} else {
		ce->ignore();
	}
}
